package com.hhcf.service;

import javax.jms.Destination;

/**
 * 
 * @Title: ProducerService
 * @Description:
 * @Author: zhaotf
 * @Since:2017年2月27日 下午4:52:24
 * @Version:1.0
 */
public interface ProducerService {
	/**
	 * 向指定队列发送消息
	 */
	public Object sendMessage(Destination destination, final String msg);

	/**
	 * 向默认队列发送消息
	 * @return 
	 */
	public Object sendMessage(final String msg);

}
